package com.suse.service.community.mvc.interceptor;

import com.suse.service.community.service.StatisticsService;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 统计拦截器
 * </p>
 *
 * @author 辜玉彬
 * @since 2022-09-06 20:31
 */
@Component
public class StatisticsInterceptor implements HandlerInterceptor {

    @Resource
    private StatisticsService statisticsService;

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
        return true;
    }

}
